#include <glib.h>
#include <gio/gio.h>
#include "common.h"

int main(int argc, char **argv) {
    gchar *modems[MODEM_COUNT_LIMIT];

    gsize count = 0;
    if (!get_modem_paths(modems, &count)) {
        g_print("get_modem_paths returns error\n");
        return -1;
    }
    for (int i = 0; i < count; i++) {
        g_print("modem:[%s]\n", modems[i]);
        g_free(modems[i]);
    }
    return 0;
}
